package ru.ifmo.filemanager.ftpplugin;

import ru.ifmo.filemanager.core.Core;
import ru.ifmo.filemanager.filesystem.FileSystem;

public class Plugin {

	private Plugin() { }
	
	private final static FtpRootDirectory rootDirectory = new FtpRootDirectory();
	
	public static void load() {
		Core.registerAction("Connect to ftp...", new FtpConnector( rootDirectory ));
		
		FileSystem.registerRoot("FTP Connections", rootDirectory);
	}
}